<div class="announcement">
<?php 	if( isset($isAdmin) && $isAdmin === true ) : ?>
		<a href="/siteadmin/assign/<?php echo $id ?>">Assign Admin</a>
<?php 	endif; ?>
</div>

<?php foreach( $orgboxes as $orgbox ) : ?>
<div class="org">
	<img src="<?php if( isset( $orgbox['logo'] ) ) echo $orgbox['logo'] ?>" />
	<h2><a href="/org/view/<?php echo $orgbox['name'] ?>"><?php if( isset( $orgbox['description'] ) ) echo $orgbox['description'] ?></a></h2>
	<div class="description"><?php if( isset( $orgbox['long_description'] ) ) echo $orgbox['long_description'] ?></div>
		<a href="/org/view/<?php echo $orgbox['name'] ?>">Edit</a> | 
		<a href="/siteadmin/delete/<?php echo $orgbox['org_id'] ?>">Delete</a> | 
		<a href="/siteadmin/assign/<?php echo $orgbox['org_id'] ?>">Assign Prof</a>
</div>		
<?php endforeach; ?>